import request from '@/utils/request'

// 获取验证码
export const code = key => request.get(`/manager/captcha?key=${key}`,
  { responseType: 'blob' })
// 登录请求
export const login = data => request.post('/manager/login', data)
// 查询用户可用的所有菜单
export const getMenus = () => request.get('/manager/menus')

